package com.zzy.demo.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zzy.demo.service.UserService;
/**
 * 
 * @author guokaige
 *
 */
@Controller
@RequestMapping("/user")
public class UserController {
	
	@Autowired
	UserService  userSerivce;


	@RequestMapping("/index")
	public String index(Model model) {
		
		userSerivce.testService();
		
		return "index";
	}

	
}
